/**
 * @description video element
 * @author wangfupeng
 */

//【注意】需要把自定义的 Element 引入到最外层的 custom-types.d.ts

type EmptyText = {
	text: '';
};

export type MediaStyle = {
	verticalAlign?: string;
};
export type DavinciMedia = {
	type: 'davinci-media';
	src: string;
	poster?: string;
	undeletable?: boolean;
	style?: MediaStyle;
	width?: string;
	height?: string;
	suffix?: string;
	color?: string; //编辑器中元素颜色
	selectedColor?: string; //编辑器中元素被选中时的颜色
	backgroundColor?: string; //元素背景颜色
	fileName?: string;
	children: EmptyText[];
};
